From: Paul Eggert Date: Mon, 16 Apr 2012 00:41:01 +0000 (-0700) Subject: Assume less-ancient POSIX support. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2326^2~2589^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=15142f279769f4eea233a0d73a3afc74db0e6082;p=emacs.git Assume less-ancient POSIX support. * update-game-score.c: Include rather than rolling our own decls for optarg, optind, opterr. See . --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index ac3e0a612e2..ea5f5a26627 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,10 @@ +2012-04-16 Paul Eggert + + Assume less-ancient POSIX support. + * update-game-score.c: Include rather than rolling our + own decls for optarg, optind, opterr. See + . + 2012-04-14 Juanma Barranquero * emacsclient.c (decode_options) [WINDOWSNT]: diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index a32bd6d8d78..e0c940510be 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c @@ -46,10 +46,7 @@ along with GNU Emacs. If not, see . */ #include #endif #include - -/* Needed for SunOS4, for instance. */ -extern char *optarg; -extern int optind, opterr; +#include static int usage (int err) NO_RETURN;